<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<section class="content">
	<div class="box">
		<div class="box-header">
			<sf:form id="contextForm" cssClass="form-inline" method="post" modelAttribute="memberForm">
				<div class="form-group">
					<label>用户名</label>
					<sf:input path="username" cssClass="form-control" autocomplete="off"/>
				</div>
			</sf:form>
		</div>
		<div class="box-body">
			<table class="table">
				<thead>
					<tr>
						<th>编号</th>
						<th>用户名</th>
						<th>性别</th>
						<th>剩余金额</th>
						<th>冻结金额</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${memberInfos.content }" var="obj">
						<tr>
							<td>${obj.id }</td>
							<td>${obj.username }</td>
							<td>
								<a href="javascript:void(0);" data-toggle="dialog" data-url="<s:url value="/manager/member/details/{id}"><s:param name="id" value="${obj.id }"/></s:url>" class="btn btn-primary">详情</a>
								<a href="">资金交易记录</a>
								<a href="javascript:void(0);" class="btn btn-default">托管金额</a>
							</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
			<c:import url="/WEB-INF/commons/Page.jsp">
                <c:param name="totalElements" value="${memberInfos.totalElements}"/>
                <c:param name="totalPages" value="${memberInfos.totalPages}"/>
                <c:param name="isLast" value="${memberInfos.last}"/>
                <c:param name="number" value="${memberInfos.number}"/>
            </c:import>
		</div>
	</div>
</section>